package app.com.itcast.biyesheji.Bean;

public class ShopBean {

    /**
     * msg : 成功
     * data : {"id":1,"name":"苹果","text":"又甜又可口","price":12.2,"image":"/images/qz.jpeg"}
     * success : true
     */

    private String msg;
    /**
     * id : 1
     * name : 苹果
     * text : 又甜又可口
     * price : 12.2
     * image : /images/qz.jpeg
     */

    private DataBean data;
    private boolean success;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        private int id;
        private String name;
        private String text;
        private double price;
        private String image;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }
    }
}
